home *** CD-ROM | disk | FTP | other *** search
/ See the World by Train (UK Edition) / See the World by Train - Disc 1.iso / LINGO.INI < prev    next >
Text File  |  1996-03-15  |  1KB  |  28 lines

  1. -- This is the text file LINGO.INI.  It is designed
  2. -- to tell Director for Windows what Xtras, XObjects, or
  3. -- DLLs should be loaded when starting DIRECTOR.EXE.
  4.  
  5. -- You should have a copy of this file and the associated
  6. -- DLL file (for example, FILEIO.DLL) in the same 
  7. -- location as any Projector you wish to distribute.
  8. -- Otherwise, the Projector will not be able to utilize
  9. -- the features of the DLL you want to use.
  10.  
  11. -- To comment out one of the lines below, use two dashes (--)
  12. -- as in the beginning of these lines.
  13.  
  14. -- Loaded are:
  15. -- FILEIO.DLL, for file input and output
  16.  
  17. on startup
  18.     put "Now loading LINGO.INI"&&the date&&the time
  19.     put "This computer is running in "&& the colorDepth &"-bit color depth."
  20. --  set the centerStage to TRUE
  21.     openxlib "fileio"
  22.     -- Following line prevents crashes on Windows systems when using math functions 
  23.     -- such as power or log and passing bogus or extremely large/small values.
  24.     -- Invoking the float->string conversion code  with a valid value prevents
  25.     -- future crashes in this routine.  drs  1mar96 
  26.     if string(0.0)="a" then nothing
  27. end startup
  28.